#!/bin/sh

usage="usage: lecture room\n  - informatikhörsaal"

[ $# -lt 1 ] && echo ${usage} && exit 1

player=mpv
link=

for arg in "$@"; do
    case ${arg} in
        informatikhörsaal)
            link=https://live.video.tuwien.ac.at/lt-live/deu116-informatikhoersaal/playlist.m3u8
    esac
done

$player $link
